import { Form } from 'vant'
import fetch from './fetch'

export function presentOrder(data) {
	return fetch({
		url: 'tkProduct/presentOrder',
		method: 'post',
		data,
		headers: {
			'Content-Type': 'application/json'
		}
	})
}

export function checkEffective(biz) {
	return fetch({
		url: 'tkProduct/checkEffective',
		method: 'get',
		params: { biz }
	})
}

export function aesEncrypt(data) {
	return fetch({
		url: 'tkProduct/encrypt',
		method: 'post',
		data: data,
		headers: {
			'Content-Type': 'application/json'
		}
	})
}
